<?php

namespace Wilead\CoreBundle\Form\Type;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

use Symfony\Component\Form\AbstractType,
    Symfony\Component\OptionsResolver\OptionsResolverInterface,
    Symfony\Component\Form\FormBuilderInterface;

/**
 * Description of PointType
 *
 * @author jack
 */
class PointType extends AbstractType {

    public function buildForm(FormBuilderInterface $builder, array $options) {
        $builder->addModelTransformer(new \Wilead\CoreBundle\Form\Transformer\PointToStringTransformer());
    }

    public function getParent() {
        return 'text';
    }

    public function getName() {
        return 'point';
    }

}

?>
